<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines contain the default error messages used by
    | the validator class. Some of these rules have multiple versions such
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'accepted'             => ':attribute 必须是yes、on、1或true',
    'active_url'           => ':attribute 必须是有效的URL地址',
    'after'                => ':attribute 必须是 :date 后的时间',
    'alpha'                => ':attribute 必须是字母',
    'alpha_dash'           => ':attribute 只能包含字母和数字，以及破折号和下划线',
    'alpha_num'            => ':attribute 必须是字母或数字',
    'array'                => ':attribute 必须是数组',
    'before'               => ':attribute 必须是 :date 前的时间',
    'between'              => [
        'numeric' => ':attribute 必须在 :min 和 :max 之间',
        'file'    => ':attribute 必须在 :min and :max KB之间',
        'string'  => ':attribute 必须在 :min and :max 字符之间',
        'array'   => ':attribute must have between :min and :max items.',
    ],
    'boolean'              => ':attribute 必须是true, false, 1,0 等',
    'confirmed'            => '两次输入不一致',
    'date'                 => ':attribute 必须是一个有效日期',
    'date_format'          => ':attribute 必须匹配指定格式 :format.',
    'different'            => ':attribute 必须和 :other 不同',
    'digits'               => ':attribute 必须是数字且长度为 :digits ',
    'digits_between'       => ':attribute 数值长度必须介于 :min and :max 之间',
    'dimensions'           => ':attribute 图片尺寸必须满足约束条件',
    'distinct'             => ':attribute 有一个重复值',
    'email'                => ':attribute 必须是格式化的电子邮件地址',
    'exists'               => ':attribute 必须存在于指定数据表',
    'file'                 => ':attribute 必须是上传成功的文件',
    'filled'               => ':attribute 如果存在则不能为空',
    'image'                => ':attribute 必须是图片',
    'in'                   => ':attribute 必须在给定的列表中',
    'in_array'             => ':attribute 必须在 :other 中存在',
    'integer'              => ':attribute 必须是整型',
    'ip'                   => ':attribute 必须是有效的IP地址',
    'json'                 => ':attribute 必须是有效的JSON字符串',
    'max'                  => [
        'numeric' => ':attribute 必须小于或等于 :max.',
        'file'    => ':attribute 必须小于或等于 :max KB.',
        'string'  => ':attribute 必须小于或等于 :max 个字符.',
        'array'   => ':attribute may not have more than :max items.',
    ],
    'mimes'                => ':attribute 必须是该规则列出的扩展类型中的一个 :values.',
    'min'                  => [
        'numeric' => ':attribute 必须大于 :min.',
        'file'    => ':attribute 必须大于 :min KB.',
        'string'  => ':attribute 必须大于 :min 个字符.',
        'array'   => ':attribute must have at least :min items.',
    ],
    'not_in'               => ':attribute 必须不在给定列表中',
    'numeric'              => ':attribute 必须是数值',
    'present'              => ':attribute 必须出现在输入数据中但可以为空',
    'regex'                => ':attribute 必须匹配给定正则表达式',
    'required'             => ':attribute 不能为空',
    'required_if'          => ':attribute 在另一个字段 :other 等于指定值 :value 时不能为空',
    'required_unless'      => ':attribute 除了 :other 等于 :values， 否则不能为空',
    'required_with'        => ':attribute 只有在 :values 存在时不能为空',
    'required_with_all'    => ':attribute 只有在 :values 存在时不能为空',
    'required_without'     => ':attribute 只有在 :values 不存在时不能为空',
    'required_without_all' => ':attribute 只有在 :values 都不存在时不能为空',
    'same'                 => ':attribute 和 :other 必须匹配',
    'size'                 => [
        'numeric' => ':attribute 必须是 :size.',
        'file'    => ':attribute 必须是 :size KB.',
        'string'  => ':attribute 必须是 :size 字符.',
        'array'   => ':attribute must contain :size items.',
    ],
    'string'               => ':attribute 必须是字符串',
    'timezone'             => ':attribute 必须是有效时区标识',
    'unique'               => '已被使用',
    'url'                  => ':attribute 格式不正确',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | Here you may specify custom validation messages for attributes using the
    | convention "attribute.rule" to name the lines. This makes it quick to
    | specify a specific custom language line for a given attribute rule.
    |
    */

    'custom' => [
        'attribute-name' => [
            'rule-name' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | The following language lines are used to swap attribute place-holders
    | with something more reader friendly such as E-Mail Address instead
    | of "email". This simply helps us make messages a little cleaner.
    |
    */

    'attributes' => [],

];
